package com.ocom.payconfig.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ocom.common.entity.card.EntityXfVideocallInfo;
import com.ocom.common.request.videocall.request.DeviceManageActDeviceRequest;
import com.ocom.common.request.videocall.request.DeviceManageOnShowRequest;
import com.ocom.common.request.videocall.request.DeviceManageUpdateDeviceRequest;
import com.ocom.common.request.videocall.request.GetVideocallListRequest;

import java.util.Date;
import java.util.List;


public interface XfVideocallInfoService extends IService<EntityXfVideocallInfo> {

    List<EntityXfVideocallInfo> getVideocallList(Long companyId, DeviceManageOnShowRequest request);

    boolean addVideocall(Long companyId, EntityXfVideocallInfo entity);

    boolean updateVideocall(Long companyId, DeviceManageUpdateDeviceRequest request);

    boolean updateExpireTime(Long companyId, String sn, Date expireTime);

    boolean removeVideocall(Long companyId, String sn);

    List<EntityXfVideocallInfo> getNewVideocallList(Long companyId, Long merchId);

}
